/*VISION========================*/
.about_club{
    margin-top: 3rem;
}
.about_club_container{
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 5rem;

}
.about_club_right > p{
    margin: 1.6rem 0 2.5rem;
    text-align: center;
}
.about_club_right > h1{
    text-align: center;
    margin-bottom: 1.5rem;
}
.about_img{
    height: 250;

}


/*=====TEAM==============*/
.team{
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
    padding-bottom: 3rem;
    margin-top: 0;
    
}
.gallery-title {
    padding-top: 50px;
    padding-bottom: 20px;
     text-align: center;
     margin-top: 0;
     
     position: relative; /* Add relative positioning to the gallery-title div */
  
   }
   .gallery-title > h2{
    padding: 0;
    margin: 0;
   }
   .gallery-title > h3{
    padding: 0;
    margin: 0;
   }
   
   .horizontal-rule {
     position: absolute; /* Use absolute positioning to place the horizontal rules */
     width: 25%;
     height: 10px; /* Increase the height for a bolder look */
     background: #fff; /* Gradient background with orange to yellow colors */
     border: none;
     top: 50%; /* Vertically center the horizontal rules relative to the gallery-title */
     transform: translateY(-50%); /* Adjust for vertical centering */
     box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
     border-radius: 5px; /* Add rounded corners */
   }
   
   .left {
     left: 5%; /* Position the left horizontal rule 5% from the left side */
   }
   .right {
     right: 5%; /* Position the right horizontal rule 5% from the right side */
   }
.faculty {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   

  }
  
  .faculty_member_img {
    width: 150px;
    height: 150px;
   
    overflow: hidden;
    display: flex;
    background: var(--color-bg2);
    border: 1px solid transparent;
    margin: 10px;
    justify-content: center;
    align-items: center;
  }
  
  .faculty_member_img img {
    max-width: 100%;
    max-height: 100%;
  }
  
  .faculty_member_info {
    text-align: center;
  }
  .team > h3{
    text-align: center;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: center;
    
  }
  .team_container{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    

  }
  .head_member{
    background: var(--color-bg2);
    padding: 2rem;
    border: 1px solid transparent;
   
    margin: 10px;
    height: 300px;

  transition: var(--transition);
 

  }
  .head_member:hover{
    background: transparent;
    border-color: var(--color-bg);
  }
  .team_member_img {
    width: 160px; /* Adjust the image size as needed */
    height: 150px; /* Adjust the image size as needed */

    
    overflow: hidden;
  }
  
  .team_member_img img {
    
    max-width: 100%;
    max-height: 100%;
    filter: saturate(0);
  }
  
  .team_member_info {
    text-align: left;
    margin-top: 10px;
  }
  .head_member:hover img{
    background: transparent;
    border-color: var(--color-primary);
    filter: saturate(1);
  }
  .mentors{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    padding-right: 10rem;
    padding-left:10rem;
  
  
  }
  .mentors > img{
    height: 500px;
    width: auto;
    border-radius: 1%;
    filter: saturate(0);

  }
  .mentors:hover img{
    background: transparent;
    border-color: var(--color-primary);
    filter: saturate(1);

  }
  

  /*=====MEDIA QUERIES======*/
  @media (max-width: 1024px) {
    .about_club_container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about_club_right > p,
    .about_club_right > h1 {
        text-align: center;
        margin: 1rem 0;
    }

    .about_img {
      height: auto;
      max-width: 100%;
  }
    
    .head_member {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
  }

  .head_member img {
      width: 100px;
      height: 100px;
      max-width: 100%;
      filter: saturate(1);
      max-height: 100%;
      
  }

  .team_member_info {
      text-align: center;
      margin-top: 5px;
  }

    .team_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .faculty_member_img,
    .team_member_img {
        width: 120px;
        height: 120px;
    }

    .mentors {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .mentors > img {
        height: auto;
        max-width: 100%;
        filter: saturate(1);
    }
}
@media (max-width: 600px) {
  .about_club_container {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  .about_img {
    height: auto;
    max-width: 100%;
}

  .about_club_right > p,
  .about_club_right > h1 {
      text-align: center;
      margin: 1rem 0;
  }

  

  .team_container {
      grid-template-columns: 1fr;
  }

  .faculty_member_img,
  .team_member_img {
      width: 100px;
      height: 100px;
  }
  
  .head_member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.head_member img {
    width: 100px;
    height: 100px;
    max-width: 100%;
    max-height: 100%;
   filter: saturate(1);
}

.team_member_info {
    text-align: center;
    margin-top: 5px;
}

  .mentors {
      grid-template-columns: 1fr;
      gap: 1rem;
      padding: 0;
  }

  .mentors > img {
      height: auto;
      max-width: 100%;
      filter: saturate(1);
  }

  .gallery-title {
      padding-top: 30px;
  }

  .horizontal-rule {
      width: 20%;
      height: 8px;
  }

  .team > h3 {
      margin-bottom: 1rem;
  }
}
/* Media Query for Laptops with Smaller Screens */
@media (max-width: 1366px) {
  /* Adjust the values as needed */

  /* Update the grid layout */
  .about_club_container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Center-align text and adjust margins for better readability */
  .about_club_right > p,
  .about_club_right > h1 {
    text-align: center;
    margin: 1rem 0;
  }

  /* Make images responsive */
  .about_img {
    height: auto;
    max-width: 100%;
  }

  /* Adjust member card layout */
  .head_member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Adjust member card image size */
  .head_member img {
    
    width: 100px;
    height: 100px;
    max-width: 100%;
    max-height: 100%;
    filter: saturate(1);
  }
  .head_member img:hover{
    filter: saturate(0);
  }

  /* Center-align member card info */
  .team_member_info {
    text-align: center;
    margin-top: 5px;
  }

  /* Adjust team container layout */
  .team_container {
    grid-template-columns: 1fr;
  }

  /* Adjust faculty member and team member image sizes */
  .faculty_member_img,
  .team_member_img {
    width: 100px;
    height: 100px;
  }

  /* Adjust mentors layout */
  .mentors {
    grid-template-columns: 1fr;
    gap: 1rem;
    
  }

  /* Make mentors images responsive */
  .mentors > img {
   
    height: auto;
    max-width: 100%;
    filter: saturate(1);
  }

  /* Adjust gallery title for smaller screens */
  .gallery-title {
    padding-top: 30px;
  }

  /* Adjust horizontal rule size */
  .horizontal-rule {
    width: 20%;
    height: 8px;
  }

  /* Adjust team heading margin */
  .team > h3 {
    margin-bottom: 1rem;
  }
}


